#ifndef _USER_TYPE_H___
#define _USER_TYPE_H___

typedef unsigned char          BYTE ;
typedef char                   BOOL ;
typedef short int              WORD  ;
typedef int                    DWORD ;
typedef unsigned int           UDWORD;

typedef unsigned short         uint16;
typedef signed short           int16 ;
typedef int                    int32 ;
typedef unsigned int           uint32;
typedef char                   int8  ;
typedef unsigned char          uint8 ;

typedef struct Buf
{
  BYTE  Head ;
  BYTE  Rear ;
  BYTE  *pbuf;
  BYTE  Length ;
  uint16 n16bufSize ;
}CBuf,*pBuf;

#endif